/* 
	
*/
import {INCREMENT,DECREMENT,ADDPATH,DELETEPATH, CHANGEBREAD,RESOVE} from '../constant'


export const createIncrementAction = (data:number) => ({type:INCREMENT,data})

export const createDecrementAction = (data:number) => ({type:DECREMENT,data})

export const addPath = (data:unknown)=> ({type:ADDPATH,data})

export const deletePath = (data:unknown)=> ({type:DELETEPATH,data})

export const resovePath = ()=> ({type:RESOVE})

export const handlerBread = (data:breadType[])=>({type:CHANGEBREAD,data})